/*******************/
/*Chat widget*/
/*******************/
.chat-box {
  overflow: auto;
}
.chat-list {
  margin: 0px;
  padding: 0px;
  .chat-item {
    list-style: none;
    margin-top: 30px;
    .chat-img {
      display: inline-block;
      width: 45px;
      vertical-align: top;
      img {
        width: 45px;
        border-radius: 100%;
      }
    }
    .chat-content {
      width: calc(100% - 50px);
      display: inline-block;
      padding-left: 15px;
      h5 {
      }
      .box {
        display: inline-block;
        padding: 15px;
        margin-bottom: 3px;
        color: $gray-800;
        background: $gray-100;
        border-radius: 0 8px 8px;
      }
    }
    .chat-time {
      display: block;
      font-size: 10px;
      color: $gray-700;
      font-weight: 500;
      margin-top: 5px;
    }
    &.odd {
      .chat-content {
        text-align: right;
        width: calc(100% - 0px);
        padding-left: 0;
        padding-right: 15px;
      }
      .chat-time {
        text-align: right;
      }
      .box {
        clear: both;
        background: $gray-200;
        border-radius: 8px 0 8px 8px;
      }
    }
    &.odd + .odd {
      margin-top: 0px;
    }
    &.reverse {
      text-align: right;
      .chat-time {
        text-align: left;
      }
      .chat-content {
        padding-left: 0px;
        padding-right: 15px;
      }
    }
  }
  .odd.chat-item{
    display: flex;
  }
}
